package com.vol.controller.sys;

import com.vol.sys.DictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("api/Sys_Dictionary")
public class DictionaryController {
    @Autowired
    private DictionaryService dictionaryService;

    @PostMapping("GetVueDictionary")
    public List<Map<String, Object>> GetVueDictionary(@RequestBody ArrayList<String> dicNameList){
        List<Map<String, Object>> list = dictionaryService.GetVueDictionary(dicNameList);
        return list;
    }

}
